package com.spark.lola.support.wms.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: Zhi-peng wang
 * @date: 2020/05/13 14:02
 * 极光推送配置文件
 **/
@ConfigurationProperties(prefix = "jpush")
public class JPushProperties {

    private Config logistics;

    private Config purchase;

    private Config receiving;

    private Config supplier;

    public static class Config {

        private String appKey;

        private String masterSecret;

        private Long timeToLive;

        private Boolean apnsProduction;

        public String getAppKey() {
            return appKey;
        }

        public void setAppKey(String appKey) {
            this.appKey = appKey;
        }

        public String getMasterSecret() {
            return masterSecret;
        }

        public void setMasterSecret(String masterSecret) {
            this.masterSecret = masterSecret;
        }

        public Long getTimeToLive() {
            return timeToLive;
        }

        public void setTimeToLive(Long timeToLive) {
            this.timeToLive = timeToLive;
        }

        public Boolean getApnsProduction() {
            return apnsProduction;
        }

        public void setApnsProduction(Boolean apnsProduction) {
            this.apnsProduction = apnsProduction;
        }
    }

    public Config getLogistics() {
        return logistics;
    }

    public void setLogistics(Config logistics) {
        this.logistics = logistics;
    }

    public Config getPurchase() {
        return purchase;
    }

    public void setPurchase(Config purchase) {
        this.purchase = purchase;
    }

    public Config getReceiving() {
        return receiving;
    }

    public void setReceiving(Config receiving) {
        this.receiving = receiving;
    }

    public Config getSupplier() {
        return supplier;
    }

    public void setSupplier(Config supplier) {
        this.supplier = supplier;
    }

}
